package com.thiswhyme.stream.rabbit.consumer2;

import com.thiswhyme.stream.rabbit.consumer2.BizService.InputChannel;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableBinding({InputChannel.class})
@SpringBootApplication
public class StreamRabbitConsumer2Application {

    public static void main(String[] args) {
        SpringApplication.run(StreamRabbitConsumer2Application.class, args);
    }

}
